package controller.api;

import com.jfinal.aop.Before;
import com.jfinal.aop.Clear;

import common.inter.ApiSignInter;
import common.kit.PropKits;
import common.kit.QiniuKit;

public class ApiQiniuController extends BaseApiController{
	
	@Clear
	@Before(ApiSignInter.class)
	public void getToken() {
		set("token" , QiniuKit.getUpToken());
		set("domain", PropKits.getDomain());
		renderJson();
	}
	
}
